Analytic Samplers and the Combinatorial Rejection Method

نویسندگان

  • Olivier Bodini
  • Jérémie Lumbroso
  • Nicolas Rolin
چکیده

Boltzmann samplers, introduced by Duchon et al. in 2001, make it possible to uniformly draw approximate size objects from any class which can be specified through the symbolic method. This, through by evaluating the associated generating functions to obtain the correct branching probabilities. But these samplers require generating functions, in particular in the neighborhood of their sunglarity, which is a complex problem; they also require picking an appropriate tuning value to best control the size of generated objects. Although Pivoteau et al.have brought a sweeping question to the first question, with the introduction of their Newton oracle, questions remain. By adapting the rejection method, a classical tool from the random, we show how to obtain a variant of the Boltzmann sampler framework, which is tolerant of approximation, even large ones. Our goal for this is twofold: this allows for exact sampling with approximate values; but this also allows much more flexibility in tuning samplers. For the class of simple trees, we will show how this could be used to more easily calibrate samplers. Introduction Being able to randomly generate large objects of any given combinatorial class (for instance described by a grammar), is a fundamental problem with countless applications in scientific modeling. Nijenhuis and Wilf introduced the recursive method [16] in the late 70s (later extended by Flajolet et al. [12]), the first automatic random generation method; so termed automatic because it can directly derive random samplers from any combinatorial description—no bijection, no clever algorithm, no complicated equations are needed. The drawback is that this method is costly, notably in preprocessing: to compute the probabilities involved in generating an object of size n, the method requires knowing the complete enu∗LIPN, UMR 7030, Université Paris 13/CNRS, F-93430 Villetaneuse, France. †Department of Computer Science, Princeton University, 35 Olden Street, Princeton, NJ 08540, USA. meration of the combinatorial class up to size n; and predictably when n is large, this enumeration is significant both to calculate and to store. Enter Boltzmann sampling, introduced by Duchon et al. in 2002 [7, 8], of which the key insight was that a class’ enumeration is not required to compute the correct branching probabilities: instead, such probabilities can be obtained by evaluating the counting generating functions—for an unlabelled combinatorial class C, for which there are cn elements of size n, its counting generating function is defined as

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Boltzmann sampling of ordered structures

Boltzmann models from statistical physics combined with methods from analytic combinatorics give rise to efficient algorithms for the random generation of combinatorials objects. This paper proposes an efficient sampler which satisfies the Boltzmann model principle for ordered structures. This goal is achieved using a special operator, named box operator. Under an abstract real-arithmetic compu...

متن کامل

Analyzing Boltzmann Samplers for Bose-Einstein Condensates with Dirichlet Generating Functions

Boltzmann sampling is commonly used to uniformly sample objects of a particular size from large combinatorial sets. For this technique to be effective, one needs to prove that (1) the sampling procedure is efficient and (2) objects of the desired size are generated with sufficiently high probability. We use this approach to give a provably efficient sampling algorithm for a class of weighted in...

متن کامل

Uniform random sampling of planar graphs in linear time

This article introduces new algorithms for the uniform random generation of labelled planar graphs. Its principles rely on Boltzmann samplers, as recently developed by Duchon, Flajolet, Louchard, and Schaeffer. It combines the Boltzmann framework, a suitable use of rejection, a new combinatorial bijection found by Fusy, Poulalhon and Schaeffer, as well as a precise analytic description of the g...

متن کامل

A Linear Approximate-size Random Sampler for Labelled Planar Graphs

This article introduces a new algorithm for the random generation of labelled planar graphs. Its principles rely on Boltzmann samplers, as recently developed by Duchon, Flajolet, Louchard, and Schaeffer. It combines the Boltzmann framework, a suitable use of rejection, a new combinatorial bijection found by Fusy, Poulalhon and Schaeffer, as well as a precise analytic description of the generati...

متن کامل

Quadratic exact-size and linear approximate-size random generation of planar graphs

This extended abstract introduces a new algorithm for the random generation of labelled planar graphs. Its principles rely on Boltzmann samplers as recently developed by Duchon, Flajolet, Louchard, and Schaeffer. It combines the Boltzmann framework, a judicious use of rejection, a new combinatorial bijection found by Fusy, Poulalhon and Schaeffer, as well as a precise analytic description of th...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2015